package com.jdb.social.api;

import com.guns21.support.entity.AbstractEntity;

import javax.persistence.MappedSuperclass;

/**
 * Created by jliu on 2016/11/24.
 */
@MappedSuperclass
public abstract class AbstractUserAssociation extends AbstractEntity {

    protected String userId;
    protected String referenceId;
    protected Byte type;
    protected Byte state = UserAssociationState.NORMAL.getValue();

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReferenceId() {
        return referenceId;
    }

    public void setReferenceId(String referenceId) {
        this.referenceId = referenceId;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }
}
